#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QDir>

namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();

private:
    Ui::Dialog *ui;

    Q_SLOT void OnInputButtonClicked_();
    Q_SLOT void OnGenerateButtonClicked_();

    bool FindMainHtmlFile_();
    bool CopyFiles_();
    bool CopyFile_(const QString &rIn, const QString &rOut);
    bool FixHtmlFiles_();
    void ConvertEmf2Jpg();

    QDir    m_InputDir;
    QDir    m_OutputDir;
    QString m_MainHtmlFileName;
};

#endif // DIALOG_H
